NAME GU_GetLocaleStr -- Get a localized string from a catalog. SYNOPSIS string = GU_GetLocaleStr(stringID, catalog, defstrings) D0,A0 D0 A0 A1 STRPTR GU_GetLocaleStr(ULONG, struct Catalog *, struct AppString *); FUNCTION Get a localized string, or the default string, from a catalog or from the programs built-in strings. INPUTS stringID - the ID of the string to get catalog - the opened catalog for the program defstrings - an array of AppString structures, the programs built-in strings and ID's. RESULT string - the address of the localized string, or if the catalog was not available (or if the selected language was the programs built- ins), a pointer to the default string with the given ID. SEE ALSO GU_OpenCatalog(), GU_CloseCatalog()
Converted on 19 Jul 1996 with RexxDoesAmigaGuide2HTML by Michael Ranner.